<template>
    <div>
        <h1>测试 key</h1>
        <el-button @click="changeK">点击传值key</el-button>
    </div>
</template>

<script>
export default {
    methods:{
        changeK(){
            this.$emit('bianK',Symbol())
        }
    },
    created() {
        console.log("key created");
    },
    beforeMount() {
        console.log("key beforeMount");
    },
    mounted() {
        console.log("key mounted");
    },
    beforeUpdate() {
        console.log("key beforeUpdate");
    },
    updated() {
        console.log("key updated");
    },
    beforeDestroy() {
        console.log("key beforeDestroy");
    },
    destroyed() {
        console.log("key destroyed");
    },
}
</script>

<style lang="scss" scoped>

</style>